<include file="Public:header"/>

<div class="wrapper">
  <div class="sitepath">当前位置：<a href="{$webConfig['host_url']}">首页</a> &nbsp;&rsaquo;&nbsp; 目录排行</div>
  <div class="clear"></div>
</div>
<div class="wrapper">
  <div class="mainbox">
    <div class="mainbox-left">
      <div>{:W('Ad', 8)}</div>
      <div class="clear"></div>
      <div class="topsite" style="margin-bottom: 10px; margin-right: 10px;">
        <h2>入站排行榜 TOP10</h2>
        <ul class="toplist">
        <websites order="instat DESC" limit="10">
            <li><span>{$key+1}.</span><a href="{$vo['url']}">{$vo['name']}</a> - <em><a href="http://{$vo['domain']}/" rel="nofollow" target="_blank" onclick="clickout({$vo['id']})">{$vo['domain']}</a></em></li>
        </websites>
        </ul>
      </div>
      <div class="topsite" style="margin-bottom: 10px;">
        <h2>出站排行榜 TOP10</h2>
        <ul class="toplist">
          <websites order="outstat DESC" limit="10">
            <li><span>{$key+1}.</span><a href="{$vo['url']}">{$vo['name']}</a> - <em><a href="http://{$vo['domain']}/" rel="nofollow" target="_blank" onclick="clickout({$vo['id']})">{$vo['domain']}</a></em></li>
        </websites>
        </ul>
      </div>
      <div class="topsite" style="margin-right: 10px;">
        <h2>最新收录 TOP10</h2>
        <ul class="toplist">
          <websites limit="10">
            <li><span>{$key+1}.</span><a href="{$vo['url']}">{$vo['name']}</a> - <em><a href="http://{$vo['domain']}/" rel="nofollow" target="_blank" onclick="clickout({$vo['id']})">{$vo['domain']}</a></em></li>
        </websites>
        </ul>
      </div>
      <div class="topsite">
        <h2>热门浏览 TOP10</h2>
        <ul class="toplist">
          <websites order="views DESC" limit="10">
            <li><span>{$key+1}.</span><a href="{$vo['url']}">{$vo['name']}</a> - <em><a href="http://{$vo['domain']}/" rel="nofollow" target="_blank" onclick="clickout({$vo['id']})">{$vo['domain']}</a></em></li>
        </websites>
        </ul>
      </div>
      <div class="clear"></div>
      <div>{:W('Ad', 9)}</div>
    </div>
    <div class="mainbox-right">
      <div>{:W('Ad', 7)}</div>
      <div class="clear"></div>
      <div class="hotbox">
        <h2>最新目录资讯</h2>
        <ul class="hotlist">
        <article limit="9">
        <li><a href="{$vo['url']}"><span>{$key+1}.</span>{$vo['name']}</a><em>{$vo['views']}℃</em></li>
        </article>
        </ul>
      </div>
      <div class="clear"></div>
      <div class="bestbox">
        <h2>最新加入站点</h2>
        <ul class="bestlist">
        	<websites limit="5">
            	 <li <if condition="($key+1) == 5"> class="last"</if>>
              <div><a href="{$vo['url']}" rel="nofollow"><img src="http://api.webthumbnail.org?width=320&height=200&screen=1024&url=http://{$vo['domain']}" alt="{$vo['name']}"></a></div>
              <p><a href="{$vo['url']}">{$vo['name']}</a><br>
                <span>{$vo['domain']}</span></p>
            </li>
           </websites>
        </ul>
      </div>
    </div>
  </div>
</div>
<include file="Public:footer"/> 